<include file="Include:header"/>

<link rel="stylesheet" type="text/css" href="../Public/css/cart.css" media="screen"/>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->

<style>
    body, html {
        background-image: url(../Public/images/body-bg.png);
        -webkit-font-smoothing: antialiased;
    }

    .column h1, h2, h3, h4, h5 {
        padding-top: 5px;
    }

    h4 {
        font-size: 16px;
        line-height: 20px;
        padding-bottom: 1px;
    }

    a {
        font-size: 14px;
    }
</style>

<div class="content">


        <!--<h4 class="icon-heading">以下商品秒杀/促销！语速从狗！</h4>-->
        <!--&lt;!&ndash;<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean iaculis erat sit amet sapien tempor et eleifend risus faucibus. Maecenas id nibh ut magna adipiscing porta a sit amet sem. Aenean adipiscing tincidunt purus, ac rhoncus lacus laoreet viverra. Nunc commodo metus eget metus congue iaculis. </p>&ndash;&gt;-->
    <!--<div class="decoration"></div>-->

        <div class="container no-bottom">

            <foreach item="vo" name="list">

                <div class="recent-post">
                    <p>
                        <img src="../Public/images/001.jpg" width="90" alt="img">
                        <strong>{$vo.name} {$vo.price}￥/{$vo.unit}</strong><br>
                        {$vo.content} <br>
                        <!--<a href="#">Read More</a>-->
                        <a href="{:U('Favorites/add',array('id'=>$vo[id]))}" class="more"></a>
                        <a href="{:U('ShopCart/add',array('id'=>$vo[id]))}" price="{$vo.price}" class="buy"></a>
                    </p>
                </div>

                        <!--<img class="blog-post-image" src="http://{$THINK.SERVER.HTTP_HOST}/{$vo.img}" alt="img">-->
            </foreach>

            <aside>

                <!-- Cart incl. Summary, Product List & View Cart Link -->
                <section id="cart">
                    <h2><a href="{:U('ShopCart/index')}" title="View Cart"><img
                            src="../Public/images/icon-cart.png" alt="Cart"></a>购物车</h2>

                    <p>您的购物车里有 <b><span class="cart_shop_count">{$shop_cart|count}</span> 个商品</b> ，一共是 <b class="cart_total_price">{$total_price}￥</b></p>

                    <p class="right"><a href="{:U('ShopCart/index')}" title="Proceed to Checkout"><b>查看购物车</b></a></p>
                </section>

            </aside>

   </div>

    <include file="Include:footer"/>



















